package com.ruoyi.baseSys.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 小区管理对象 m_residential_manage
 * 
 * @author ruoyi
 * @date 2024-07-25
 */
public class  MResidentialManage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户id */
    private Long id;

    /** 小区名称 */
    @Excel(name = "小区名称")
    private Long residentialName;

    /** 管理员姓名 */
    @Excel(name = "管理员姓名")
    private String adminName;

    /** 管理员电话 */
    @Excel(name = "管理员电话")
    private String adminPhone;

    /** 小区地址 */
    @Excel(name = "小区地址")
    private String address;


    /** 小区核酸监测状态，0停止监测，1检测中 2监测完成 */
    @Excel(name = "小区核酸监测状态，0停止监测，1检测中 2监测完成")
    private Long residentialStatus;

    //小区表中的小区名
    private Residential parent;

    public Residential getParent() {
        return parent;
    }

    public void setParent(Residential parent) {
        this.parent = parent;}

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setResidentialName(Long residentialName) 
    {
        this.residentialName = residentialName;
    }

    public Long getResidentialName() 
    {
        return residentialName;
    }
    public void setAdminName(String adminName) 
    {
        this.adminName = adminName;
    }

    public String getAdminName() 
    {
        return adminName;
    }
    public void setAdminPhone(String adminPhone) 
    {
        this.adminPhone = adminPhone;
    }

    public String getAdminPhone() 
    {
        return adminPhone;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setResidentialStatus(Long residentialStatus) 
    {
        this.residentialStatus = residentialStatus;
    }

    public Long getResidentialStatus() 
    {
        return residentialStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("residentialName", getResidentialName())
            .append("adminName", getAdminName())
            .append("adminPhone", getAdminPhone())
            .append("address", getAddress())
            .append("residentialStatus", getResidentialStatus())
            .toString();
    }
}
